<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=ou, initial-scale=1.0">
    <title>京东导航条</title>
    <style>

        body{
            background-color: #bfa;
        }
        
        .outter{
            width: 190px;
            height: 450px;
            padding: 10px 0;
            background-color: white;
            margin: 50px auto;
        }

        .outter .menu{
            
            /*行内元素要使元素上下居中将 height 与 line-height 调成一样的值即可*/
            height:25px;
            line-height: 25px;
            background-color: white;
            padding-left: 18px;

        }

        /*为 menu 设置一个移入的状态*/
        .outter .menu:hover{

            background-color: rgb(217, 217, 217);
        }
        
        /*为超链接设置样式*/
        .outter .menu a{
            font-size: 14px;
            color: #333;
            text-decoration: none;
        }
        /*为 span 设置样式*/
        .outter .menu span{
            font-size: 12px;
            padding: 0 0.5px;
        }

        /*为 menu 中的 a（超链接）设置一个移入的状态*/
        .outter .menu a:hover{

            color: #c81623;
        }

        *{
            margin: 0;
            padding: 0;
        }
    </style>
</head>
<body>
    <div class="outter">

        <div class="menu">
            <a href="#">家用电器</a>                    
        </div>

        <div class="menu">
            <a href="#">手机</a><span>/</span><a href="#">手机运营商</a><span>/</span><a href="#">数码</a>              
        </div>

        <div class="menu">
            <a href="#">电脑</a><span>/</span><a href="#">办公</a>              
        </div>

        <div class="menu">
            <a href="#">家具</a><span>/</span><a href="#">家居</a><span>/</span><a href="#">家装</a><span>/</span><a href="#">厨具</a>              
        </div>

        <div class="menu">
            <a href="#">男装</a><span>/</span><a href="#">女装</a><span>/</span><a href="#">童装</a><span>/</span><a href="#">内衣</a>              
        </div>

        <div class="menu">
            <a href="#">美妆</a><span>/</span><a href="#">个护清洁</a><span>/</span><a href="#">宠物</a>              
        </div>
        
        <div class="menu">
            <a href="#">女鞋</a><span>/</span><a href="#">箱包</a><span>/</span><a href="#">钟表</a><span>/</span><a href="#">珠宝</a>              
        </div>
           
        <div class="menu">
            <a href="#">男鞋</a><span>/</span><a href="#">运动</a><span>/</span><a href="#">户外</a>              
        </div>    
            
        <div class="menu">
            <a href="#">房产</a><span>/</span><a href="#">汽车</a><span>/</span><a href="#">汽车商品</a>              
        </div>   
           
        <div class="menu">
            <a href="#">母婴</a><span>/</span><a href="#">玩具乐器</a>              
        </div>    
           
        <div class="menu">
            <a href="#">食品</a><span>/</span><a href="#">酒类</a><span>/</span><a href="#">生鲜</a><span>/</span><a href="#">特产</a>              
        </div>     
        
        <div class="menu">
            <a href="#">艺术</a><span>/</span><a href="#">礼品礼花</a><span>/</span><a href="#">农资绿植</a>              
        </div>

        <div class="menu">
            <a href="#">医药保健</a><span>/</span><a href="#">计生情趣</a>              
        </div>

        <div class="menu">
            <a href="#">图书</a><span>/</span><a href="#">文娱</a><span>/</span><a href="#">电子书</a>              
        </div>
            
        <div class="menu">
            <a href="#">机票</a><span>/</span><a href="#">酒店</a><span>/</span><a href="#">旅游</a><span>/</span><a href="#">生活</a>              
        </div>
        
        <div class="menu">
            <a href="#">理财</a><span>/</span><a href="#">众筹</a><span>/</span><a href="#">白条</a><span>/</span><a href="#">保险</a>              
        </div>

        <div class="menu">
            <a href="#">安装</a><span>/</span><a href="#">维修</a><span>/</span><a href="#">清洗</a><span>/</span><a href="#">二手</a>              
        </div>

        <div class="menu">
            <a href="#">工业品</a>                    
        </div>
                  
    </div>
</body>
</html>